import json
from django.http import HttpResponse
from app.models import *

def log(type, time, affair):
    Log.objects.create(type=type,time=time,affair=affair)
    return 